package com.maimao.api.kill;

import com.maimao.core.model.resp.Result;
import com.maimao.model.common.ScheduleStatusInput;
import com.maimao.model.common.StatusInput;
import com.maimao.model.kill.Activity;
import com.maimao.model.kill.Schedule;
import com.maimao.model.kill.input.ActivitySaveEntity;
import com.maimao.model.kill.input.ScheduleInput;
import com.maimao.model.kill.input.ScheduleTemplate;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author MaoLin Wang
 * @date 2021/4/7 10:21 上午
 */
@Api(value = "活动排期接口")
public interface ScheduleApi {


    @ApiOperation("后台分页条件查询排期")
    Result<?> sysPageList(ScheduleInput input, Integer page, Integer size);

    @ApiOperation("根据模板添加排期")
    Result<?> addByTemplate(ScheduleTemplate template);

    @ApiOperation("开启/停止排期")
    Result<?> updateStatus(ScheduleStatusInput input);
}
